selection: mark targets param to gtk_target_list_new as allow-none
authorEvan Nemerson <evan@nemerson.com>
Mon, 14 Apr 2014 09:26:51 +0000 (02:26 -0700)
committerEvan Nemerson <evan@nemerson.com>
Tue, 15 Apr 2014 06:27:41 +0000 (23:27 -0700)
https://bugzilla.gnome.org/show_bug.cgi?id=728165

gtk/gtkselection.c

index f08a5c3da59d669d2186861af7566162926cb6dc..cbe3e48522c7e97c83e0f5eeb3321b33ec8b1765 100644 (file)
@@ -214,7 +214,8 @@ static const char gtk_selection_handler_key[] = "gtk-selection-handlers";
 
 /**
  * gtk_target_list_new:
- * @targets: (array length=ntargets): Pointer to an array of #GtkTargetEntry
+ * @targets: (array length=ntargets) (allow-none): Pointer to an array
+ *   of #GtkTargetEntry
  * @ntargets: number of entries in @targets.
  * 
  * Creates a new #GtkTargetList from an array of #GtkTargetEntry.